//
//  MPBidObject.h
//  M800Project
//
//  Created by 姚宗超 on 14/11/5.
//  Copyright (c) 2014年 姚宗超. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
 listId : 热标id,
 title : 热标名称,
 platform : 热标平台,
 productId：平台中标的ID（用于程序间跳转，目前第一P2P的站内ID 其他网站设为空）
 yearRate : 年化收益率
 repayLimitTime : 投资期限,
 progress : 投资进度,
 source : 平台来源,
 */

@interface MPBidObject : NSObject
/*
@property (nonatomic, readonly, strong)NSNumber* bidId;
@property (nonatomic, readonly, copy)NSString* bidName;
@property (nonatomic, readonly, copy)NSString* bidPlatformName;
@property (nonatomic, readonly, strong)NSNumber* platformBidId; // 平台中标的ID（用于程序间跳转，目前第一P2P的站内ID 其他网站设为空）
@property (nonatomic, readonly, strong)NSNumber* yearRate; // 年化收益率
@property (nonatomic, readonly, strong)NSNumber* durationId; // 投资期限
@property (nonatomic, readonly, strong)NSNumber* bidProgress; // 投资进度
@property (nonatomic, readonly, copy)NSString* bidSource; // 标的来源
 */

@property (nonatomic, readwrite, strong)NSNumber* bidId;
@property (nonatomic, readwrite, copy)NSString* bidName;
@property (nonatomic, readwrite, copy)NSString* bidPlatformName;
@property (nonatomic, readwrite, copy)NSString* bidIdInFP; // 平台中标的ID（用于程序间跳转，目前第一P2P的站内ID 其他网站设为空）
@property (nonatomic, readwrite, copy)NSString* yearRate; // 年化收益率
@property (nonatomic, readwrite, copy)NSString* duration; // 投资期限
@property (nonatomic, readwrite, assign)CGFloat bidProgress; // 投资进度
@property (nonatomic, readwrite, copy)NSString* bidSource; // 标的来源

+ (id)bidWithInfoDic:(NSDictionary *)infoDic;

@end
